//# sourceURL=http://uMapApp/UI/GeoJsonLayer
define([
    "mhjs/mhjs",
    "uMap/uMap",
    "./Layer"
], function (
    mhjs,
    uMap,
    Layer
) {
    function GeoJsonLayer(option) {
        var _this = this;
        Layer.call(_this, option);


        var dataSource = new uMap.GeoJSONCollection(option.geojson);
        _this.dataSource.entities.add(dataSource.object);

    }

    var _class = GeoJsonLayer;

    mhjs.Inherit(_class, Layer);

    Object.defineProperties(_class.prototype, {});

    return _class;
});